import { ByteView } from "../../../app_base/module/net/byte/ByteView";

/**
 * Socket协议结构体类
 */
export class Attr {
	key: number;
	value: number;
	constructor(buffer: ByteView) {
		this.key = buffer.readUint16();
		this.value = buffer.readFloat64();
	}
}